Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Andy Lopnimaroden 26.Jan.04 11:05 PM a Web browser
Notes Client 6.5 Windows XP


I'm trying to create an OLE session from Lotus to our Mapinfo Runtime Environment. I've tried using createobject which returns an Error code of 0 but stops execution.
I've also tried getobject and run this whilst the mapinfo runtime program is running and I'm getting an "OLE Automation Error 207".

I've checked the OLE registration and our current Mapinfo OLE V6.5 is registered.

Any suggestions would be greatly appreciated.

Sub Click(Source As Button)
On Error Goto ErrorHandler

' Use Variant variables for objects
Dim appMapinfo As Variant, docObjV As Variant
Dim shapesObjV As Variant, shapeObjV As Variant
Dim mapinfoModule As String
Dim iPage As Integer, iShape As Integer, _
iManager As Integer
' Set appMapinfo = Createobject("Mapinfo.Runtime")
Set appMapinfo = Getobject("\\network location\MAPINFOR.EXE", "Mapinfo.Runtime")
ErrorHandler :
Messagebox "Error" & Str(Err) & ": " & Error$
Set appMapinfo = Nothing
End Sub








  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS